package com.tmeone.erpone.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.tmeone.erpone.entity.SUser;
import com.tmeone.erpone.mapper.SUserMapper;
import com.tmeone.erpone.service.ISUserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author tmeone
 * @since 2021-04-16
 */
@Service
public class SUserServiceImpl extends ServiceImpl<SUserMapper, SUser> implements ISUserService {

    @Autowired
    private SUserMapper sUserMapper;

    @Override
    public IPage<SUser> pageUser(IPage<SUser> page) {

        return sUserMapper.pageUser(page);

    }

    @Override
    public SUser selectById(String id) {
        return sUserMapper.selectById(id);
    }
}
